package com.ybl.store.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * jwt 参数
 */
@Component
@ConfigurationProperties(prefix = "ybl-store.jwt")
@Data
public class JwtProperties {

    /**
     * jwt 密钥
     */
    private String secretKey;

    /**
     * jwt 令牌对应的请求头键
     */
    private String headerKey;
}
